package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfGoodsCommenimgDao;
import com.wfcm.entity.WfGoodsCommenimgEntity;
import com.wfcm.service.WfGoodsCommenimgService;



@Service("wfGoodsCommenimgService")
public class WfGoodsCommenimgServiceImpl implements WfGoodsCommenimgService {
	@Autowired
	private WfGoodsCommenimgDao wfGoodsCommenimgDao;
	
	@Override
	public WfGoodsCommenimgEntity queryObject(Integer id){
		return wfGoodsCommenimgDao.queryObject(id);
	}
	
	@Override
	public List<WfGoodsCommenimgEntity> queryList(Map<String, Object> map){
		return wfGoodsCommenimgDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfGoodsCommenimgDao.queryTotal(map);
	}
	
	@Override
	public void save(WfGoodsCommenimgEntity wfGoodsCommenimg){
		wfGoodsCommenimgDao.save(wfGoodsCommenimg);
	}
	
	@Override
	public void update(WfGoodsCommenimgEntity wfGoodsCommenimg){
		wfGoodsCommenimgDao.update(wfGoodsCommenimg);
	}
	
	@Override
	public void delete(Integer id){
		wfGoodsCommenimgDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfGoodsCommenimgDao.deleteBatch(ids);
	}
	
}
